<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Bankaltim | Corporate Website</title><link rel="icon" href="<?php echo base_url();?>favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="<?php echo base_url();?>favicon.ico" type="image/x-icon" />
<meta http-equiv='Content-Type' content='text/html;charset=iso-8859-1'>
<meta name='keywords' content='bank,kaltim,bpd,samarinda'>
<meta name='description' content='Bankaltim'>
<meta name='robots' content='index, follow'>
<meta name='revisit-after' content='1 days'>
<meta name='google-site-verification' content='pNhVpEk94fQ8AN_u7gJmvAY8BZUYox5mUCmNI7_rbAs'>
<meta name='author' content='Divisi TI & Akuntansi'>

<?php include('include.php'); ?>
<meta charset="UTF-8"></head>

<body>
<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/id_ID/all.js#xfbml=1&appId=360178714126060";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

	<div id="header">
		<?php include('v_header.php'); ?>
		<div id="menu">

			<?php
			//echo $_SESSION[SESSION_PAGE];

			if($_SESSION[SESSION_PAGE]<>0 && $_SESSION[SESSION_PAGE]<>""){
				$this->m_public_function->get_menu((int)$_SESSION[SESSION_PAGE]);
			}else{
				 $i=0;
				foreach($menus as $menulist){
				  echo "<ul class='sf-menu'>";
				   echo "<li ";
					   if($i=0){ echo " class='current'" ; }
				   echo "><a href='".$menulist->link."'>".$menulist->menu."</a></li>";
				   echo "</ul>";
				}
			}

			?>

		</div>
	</div>

<div id="wrap">
	<div id="content">
	<div id="konten" style="">
		<div class="boxleft">
		<div style="clear:both;"></div>
			<img src="<?php echo base_url(); ?>images/callcenter.jpg" border=0 >
		</div>
		<div class="boxright">
		<div style="clear:both;"></div>

			<p style="background:#d2a941; font-weight: bold; padding: 5px; color: #fff; ">

			<?php
			echo "<div id='judul'>Simulasi Kredit</div>"; ?>
		    </p>

			<div  style="padding: 10px;">
			<p  padding: 10px;>
			<?php echo $form_simulasi_kredit; ?>
			<?php
			if(sizeof($kredit_cicilan)>0){
			$i=0;
			echo "<table border='1'> <tbody>";
			echo "<tr>";
			echo "<td style=\"border-left: 1px solid black;border-top: 1px solid black;border-right: 1px solid black; border-bottom: 1px solid black;\">Bulan</td>
				<td style=\"border-top: 1px solid black;border-right: 1px solid black; border-bottom: 1px solid black;\">Pokok</td>
				<td style=\"border-top: 1px solid black;border-right: 1px solid black; border-bottom: 1px solid black;\">Bunga (Rp)</td>
				<td style=\"border-top: 1px solid black;border-right: 1px solid black; border-bottom: 1px solid black;\">Cicilan</td>";
			echo "</tr>";
			foreach($kredit_cicilan as $cicilan){
				$i++;
				echo "<tr>";
				echo "<td style=\"border-left: 1px solid black; border-right: 1px solid black; border-bottom: 1px solid black;\">$i</td>
					  <td style=\"border-right: 1px solid black; border-bottom: 1px solid black;\">".number_format($cicilan['pokok'])."</td>
					  <td style=\"border-right: 1px solid black; border-bottom: 1px solid black;\">".number_format($cicilan['bunga'])."</td>
					  <td style=\"border-right: 1px solid black; border-bottom: 1px solid black;\">".number_format($cicilan['bayar'])."</td>";
				echo "</tr>";

			}
			echo "<tbody> </table>";
			}
			?>
			</p>
			<br/>

			<br/>

<a href="https://www.facebook.com/sharer/sharer.php?u=<?php echo current_url();?>" target="_blank">
 <img src="<?php echo base_url()."images/facebook_share.gif"; ?>" />
</a>
			<a href="https://twitter.com/share" class="twitter-share-button" data-via="bankaltim" data-count="none">Tweet</a>
<script>
!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');
</script>
 <g:plusone></g:plusone>

    <script type="text/javascript">
      window.___gcfg = {
        lang: 'en-US'
      };

      (function() {
        var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
        po.src = 'https://apis.google.com/js/plusone.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
      })();
    </script>

			<p><br/>
				<< <a href="javascript:history.back(1);" >Kembali</a>
			</p>
			</div>
		</div>
			</div>

</div>
<br class="clear" />
</div>

<div style="clear:both;"></div>

<?php
include('v_footer.php');

?>

</body>
</html>
